<template>
    <div class="main">
        <div>这里是proa项目-home-</div>
        <div>num-->{{ num }}</div>
        <button @click="add">+1</button>
    </div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { useRoute } from 'vue-router'
const route = useRoute()
const num = ref(1)
const add = () => {
    num.value = num.value + 1
}
</script>
